﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo01
{
    class TaiLa:Hero
    {
        public void Write() 
        {
            this.HeroName = "泰拉";
            this.HeroInfo = "来自为复仇而来的的勇士";
            this.UserName = "高奕是帅哥";
            this.Attack = 65;
            this.Defense = 45;
            this.Speed = 40;
            Console.WriteLine("我的名字是{0},我是{1}，我的昵称叫{2}，攻击为{3},防御为{4}，速度为{5}", this.HeroName, this.HeroInfo, this.UserName, this.Attack, this.Defense, this.Speed);
            Skill();

        }
        public void Skill() 
        {
            Console.WriteLine("我的技能有");
            Console.WriteLine("巨浪冲击");
            Console.WriteLine("元素突击");
            Console.WriteLine("复仇杀戮");
            Console.WriteLine();
        }

    }
}
